<div id="logo">
    <div id="logo_text">
        <?php
        $path = "";
        if (isset($is_home)) {
            echo '<img src="img/logo.png" />';
        } else {
            $path = "../";
            echo '<img src="../img/logo.png" />';
        }
        ?>         
    </div>
</div>
<?php
if (isset($is_page)) {
    if ($is_page == "home") {
        $menuActiveHome = "class=\"selected\"";
    } else if ($is_page == "info") {
        $menuActiveInfo = "class=\"selected\"";
    } else if ($is_page == "login") {
        $menuActiveLogin = "class=\"selected\"";
    } else {
        $menuActiveContact = "class=\"selected\"";
    }
}
?>
<div id="menubar">
    <ul id="menu">
        <li <?php if (isset($menuActiveHome)) {
    echo $menuActiveHome;
} ?>><a href="<?php echo $path; ?>index.php">Inicio</a></li>
        <li <?php if (isset($menuActiveLogin)) {
    echo $menuActiveLogin;
} ?>><a href="<?php echo $path; ?>login.php">Entrar</a></li>
        <li <?php if (isset($menuActiveInfo)) {
    echo $menuActiveInfo;
} ?>><a href="<?php echo $path; ?>info.php">Informações</a></li>
        <li <?php if (isset($menuActiveContact)) {
    echo $menuActiveContact;
} ?>><a href="<?php echo $path; ?>contact.php">Contato</a></li>
    </ul>
</div>